﻿<html> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15"/>
<title>Web剪刀手</title>
<link rel="stylesheet" type="text/css" href="http://webscissor.appspot.com/static/options.css"/>
<link rel="shortcut icon" href="http://webscissor.appspot.com/static/logo_32.png" type="image/x-icon" /> 
<script> 
//从URL里提取用户ID和item ID。
//URL 格式：http://webscissor.appspot.com/use_id/gid/
function GetRediUrl(strRet)
{
    //var res = /http:\/\/webscissor.appspot.com\/redi.htm?redi_url=(*)$/.exec(strRet);
    //var reg = new RegExp("http:\/\/webscissor\.appspot\.com\/redi\.htm\?redi_url=(.*)");
    var res = /http:\/\/webscissor\.appspot\.com\/redi\.htm\?redi_url=(.*)/.exec(strRet);
    return res[1];
}
function HandleUrl()
{
    var theUrl = window.location.href;//"http://webscissor.appspot.com/u10000";
    //var theUrl = "http://webscissor.appspot.com/redi.htm?redi_url=http://www.baidu.com";
    //var theUrl = "aaabbb";
    var strRedi = GetRediUrl(theUrl);
    window.location.href = strRedi;
    //alert(strRedi);
}

HandleUrl();

</script>
</head>
<body>
	<div id="debug"></div>
    <div id="main_container">
        <table width="90%" valign="top" align="center">
            <tr>
                <td align="left">
					<h1><img src="http://webscissor.appspot.com/static/logo_32.png" width="30" />Web剪刀手</h1>
                </td>
                <td align="right">
                    <p>
						<a href="http://code.google.com/p/webclip/" >Web剪刀手</a> |
                        <span id="span_username"><a href="http://webscissor.appspot.com/Login?redi_url=/">登录</a></span> 
                        
                    </p>
                </td>
            </tr>
        </table>
<table cellpadding="5" class="settings-table">
	<tr>
		<td valign="top" width="75%">
			<table width="100%">
				<tr>
					<td align="left">正在跳转……
					</td>
					<td align="right">
					</td>
				</tr>
			</table>
			<div id="div_words">
			</div>
		</td>
		<!-- <td valign="top" width="15%">
			<div id="div_tags">
			</div> 
		</td>-->
	</tr>
</table>
</body>
</html>